From f46277ebc29e544e01aef12ab57fac2094a0f773 Mon Sep 17 00:00:00 2001 From: incogshift Date: Fri, 3 Oct 2025 23:37:49 +0000 Subject: [PATCH] --- doc/forum/annex.largefiles_doesn__39__t_work_for_git_add.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/forum/annex.largefiles_doesn__39__t_work_for_git_add.mdwn b/doc/forum/annex.largefiles_doesn__39__t_work_for_git_add.mdwn index b357fcf5a7..c43d41edda 100644 --- a/doc/forum/annex.largefiles_doesn__39__t_work_for_git_add.mdwn +++ b/doc/forum/annex.largefiles_doesn__39__t_work_for_git_add.mdwn @@ -1,7 +1,8 @@ -I set up annex.largefiles in my global .gitattributes config. But git add doesn't add the defined large files to annex. But git annex works with large files and small as intended. +I set up `annex.largefiles` in my global `.gitattributes` config. But git add doesn't add the defined large files to annex. But git annex works with large files and small as intended. My config is the one below: +``` * annex.largefiles=nothing *.pdf annex.largefiles=anything *.mp4 annex.largefiles=anything @@ -12,3 +13,4 @@ My config is the one below: *.DOC annex.largefiles=anything *.pptx annex.largefiles=anything *.docx annex.largefiles=anything +``` -- 2.30.2